<template>
	<view>
		<u-button type="primary" @click="navigator">跳转</u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			navigator() {
				uni.navigateTo({
					url: '/pages/nav/nav?id=1&name=123'
				})
			}
		},
		onLoad() {
			// #ifdef MP-WEIXIN
			uni.showShareMenu({
				withShareTicket: true,
			})
			// #endif
		},
		// #ifdef MP-WEIXIN
		onShareAppMessage() {
			return {
				title: '名称',
				path: '/pages/user/user'
			}
		}
		// #endif
	}
</script>

<style>

</style>